package com.yzh.luckydraw.interfaces.assembler;

import com.yzh.luckydraw.domain.activity.model.vo.ActivityVO;
import com.yzh.luckydraw.rpc.activity.deploy.dto.ActivityDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.ReportingPolicy;

import java.util.List;
@Mapper(componentModel = "spring", unmappedSourcePolicy = ReportingPolicy.IGNORE, unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface ActivityMapping {
    List<ActivityDTO> sourceToTarget(List<ActivityVO> var);
}
